﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lxzhu.OpenGL .Core ;
namespace Lxzhu.OpenGL.Cg
{
    public class AgArea
    {
        /// <summary>
        /// 计算二维平面上该点集围成的面积.
        /// </summary>
        /// <param name="pts"></param>
        /// <returns></returns>
        public double Area2D(IEnumerable<Point> pts)
        {
            return 0;
        }
        /// <summary>
        /// 计算三维平面上该点集围成的面积.
        /// </summary>
        /// <param name="pts"></param>
        /// <returns></returns>
        public double Area3D(IEnumerable<Point> pts)
        {
            return 0;
        }
    }
}
